<?php
$username = $_POST['username'];
$pwd = $_POST['pwd'];
$age = $_POST['age'];

echo "用户名：{$username},密码：{$pwd},年龄：{$age} <br
>";

if($age <= 18){
    echo '未成年';
}else{
    echo '成年';
}


?>